#pragma once

class RectStatic;

class InputGage
{
public:
	InputGage();
	~InputGage();

	void			Release();

	void			Init(int nPosX, int nPosY, int nMargin);
	void			Update();

	void			SetPos(int nPosX, int nPosY, int nMargin);
	void			SetCurGage(int nNew);
	void			SetMaxGage(int nNew);

	int				GetCurGage()					{ return m_nCurGage; }	
	int				GetMaxGage()					{ return m_nMaxGage; }
	float			GetCurGageRate()				{ return (float)m_nCurGage / (float)m_nMaxGage; } 

private:
	int				m_nPosX;
	int				m_nPosY;
	int				m_nMargin;
	int				m_nImageWidth;
	int				m_nCurGage;
	int				m_nMaxGage;
	BOOL			m_bCheck;
	std::vector<RectStatic* >	m_arrayRectBlack;
	std::vector<RectStatic* >	m_arrayRectHighlight;
	std::vector<RectStatic* >	m_arrayRectNormal;
};